import { GET_ITEM_LIST } from "../constants";

const initdata = {};

const itemlist = (state=initdata,action)=>{
    const {type,data} = action;
    switch(type){
        case GET_ITEM_LIST:
            return Object.assign({},state,{itemlist:data})
        default:
            return state
    }
}
export default itemlist